Skip to content

Add Lists operations and improve Canvas support in Slack - #8213

Merged
TheodoreSpeaks merged 9 commits into
stagingfrom
codex/slack-lists-canvas-blocks
Sep 24, 2026
Merged

TheodoreSpeaks merged 9 commits into
stagingfrom
codex/slack-lists-canvas-blocks

Conversation

@TheodoreSpeaks

@TheodoreSpeaks TheodoreSpeaks commented Sep 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

Add seven Lists operations to the existing Slack block so workflows can create trackers and read, create, update, or delete their rows. Canvas remains in the same Slack operation menu with its existing operation and tool IDs.

  • Lists supports creating and renaming Lists, paginated row reads with the parent column schema, and individual row reads and writes. Typed cell validation preserves Slack's different read/write formats and rejects invalid payloads, including ambiguous reference cells.
  • Lists is custom-bot-only. Selecting a Lists action shows a custom bot credential picker; the executor also rejects native OAuth and managed OAuth credentials. Native Sim OAuth scopes, managed-user scopes, and the search app manifest remain unchanged.
  • Custom bot setup selects every available permission by default, including Lists and Canvas. Workspace and organization app manifests include the full supported member-account scope set without a separate Member access selector. Reconnecting preserves the existing Slack app manifest and permissions while updating only the credentials saved in Sim.
  • Canvas gains whole-document replacement in the existing Edit Canvas operation, rejects blank Markdown without changing meaningful whitespace, and propagates Slack errors clearly. Its existing native and custom-bot support remains available.
  • Document both resource types on the existing Slack integration page and update generated tool and deployment metadata.

Type of Change

  • New feature
  • Bug fix
  • Documentation

Testing

  • Focused Vitest suites passed for Lists requests/responses, Slack and Canvas operations, block routing, custom-bot field visibility, credentials, capability selection, and workspace/organization reconnects.
  • Credential regression coverage rejects native OAuth, managed OAuth, unknown credential kinds, and a spoofed credential-type input for Lists. A resolved custom bot can execute the same operation.
  • Full lint, all 49 repository audits, block registry validation, generated metadata/docs freshness, and git diff --check passed.
  • Verified in the local UI that all 18 permissions are selected by default and the Member access field is absent. All 56 focused permission, manifest, credential-policy, and block tests passed. No live Slack resource operations were performed.
  • Local TypeScript checks were skipped per request; CI's lint/type-check and build jobs passed.

Lists requires a paid Slack plan and bot access to the resource. Workspace List enumeration, changing an existing List's schema, access management, and whole-List deletion are outside this change. Canvas reads expose metadata, not document contents.

Release

Base branch and deployment target: staging. The staging push pipeline deploys after its gates. This PR does not change a live Slack app or deploy anything. Merge and production deployment require separate explicit approval.

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel

vercel Bot commented Sep 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
docs Skipped Skipped Sep 24, 2026 1:33am UTC

Request Review

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 37 files

Tip: cubic can generate docs of your entire codebase and keep them up to date. Try it here.

Fix all with cubic | Re-trigger cubic

Comment thread apps/sim/triggers/slack/capabilities.ts
Comment thread apps/sim/tools/slack/edit_canvas.ts Outdated
Comment thread apps/sim/blocks/blocks/slack_lists.ts Outdated
Comment thread apps/sim/tools/slack_lists/validation.ts
@greptile-apps

greptile-apps Bot commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

The PR appears safe to merge, with no outstanding findings or newly introduced actionable defects identified since the previous review.

Summary

This PR adds Slack Lists operations, extends Canvas editing to support whole-document replacement, strengthens credential and payload validation, and updates Slack custom-bot setup, generated metadata, tests, and documentation.

  • Adds seven custom-bot-only Slack Lists tools for list and row lifecycle operations.
  • Preserves existing Canvas operation IDs while adding whole-canvas replacement and clearer provider errors.
  • Keeps executable tools, block routing, generated metadata, deployment configuration, and documentation aligned.
  • Changes custom-bot setup to select the supported capability set and full managed-user scopes by default.
  • Reconnect flows preserve the existing Slack app manifest while updating credentials stored in Sim.
Diagram
%%{init: {'theme': 'neutral'}}%%
flowchart LR
  A[Slack workflow block] --> B{Selected operation}
  B -->|Lists| C[Require custom-bot credential]
  B -->|Canvas| D[Use existing Slack credential support]
  C --> E[Validate list and typed-cell inputs]
  E --> F[Slack Lists API]
  D --> G[Validate Canvas edit inputs]
  G --> H[Slack Canvas API]
  F --> I[Structured workflow output]
  H --> I
Loading

Reviews (6) · Last reviewed commit: "test(slack): update embedded setup expec..."

Comment thread apps/sim/triggers/slack/capabilities.ts
Comment thread apps/sim/blocks/blocks/slack_canvas.ts Outdated
Comment thread apps/sim/blocks/blocks/slack_canvas.ts Outdated
…canvas-blocks

# Conflicts:
#	apps/sim/tools/generated/tool-metadata.ts
#	apps/sim/tools/generated/tool-outputs.ts
#	apps/sim/tools/index.test.ts
@TheodoreSpeaks TheodoreSpeaks changed the title Add Slack Lists and Canvas blocks Add Lists operations and improve Canvas support in Slack Sep 23, 2026
@TheodoreSpeaks

Copy link
Copy Markdown
Collaborator Author

@greptile

@TheodoreSpeaks

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@TheodoreSpeaks I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 30 files

Tip: cubic can generate docs of your entire codebase and keep them up to date. Try it here.

Fix all with cubic | Re-trigger cubic

Comment thread apps/sim/blocks/blocks/slack.ts
@TheodoreSpeaks

Copy link
Copy Markdown
Collaborator Author

@greptile

@TheodoreSpeaks

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@TheodoreSpeaks I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 30 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Tip: cubic can generate docs of your entire codebase and keep them up to date. Try it here.

Re-trigger cubic

@TheodoreSpeaks

Copy link
Copy Markdown
Collaborator Author

@greptile

@TheodoreSpeaks

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@TheodoreSpeaks I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 30 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Tip: cubic can generate docs of your entire codebase and keep them up to date. Try it here.

Re-trigger cubic

@TheodoreSpeaks

Copy link
Copy Markdown
Collaborator Author

@greptile

@TheodoreSpeaks

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@TheodoreSpeaks I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 30 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

You've manually re-run cubic several times on this PR. Each manual re-review checks the full PR again and counts toward your usage quota. To preserve your usage limits, we recommend letting cubic automatically review new commits.
Tip: cubic can generate docs of your entire codebase and keep them up to date. Try it here.

Re-trigger cubic

@TheodoreSpeaks

Copy link
Copy Markdown
Collaborator Author

@greptile

@TheodoreSpeaks

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@TheodoreSpeaks I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 31 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

You've manually re-run cubic several times on this PR. Each manual re-review checks the full PR again and counts toward your usage quota. To preserve your usage limits, we recommend letting cubic automatically review new commits.
Tip: cubic can generate docs of your entire codebase and keep them up to date. Try it here.

Re-trigger cubic

@TheodoreSpeaks
TheodoreSpeaks merged commit b4b2625 into staging Sep 24, 2026
34 checks passed
@TheodoreSpeaks
TheodoreSpeaks deleted the codex/slack-lists-canvas-blocks branch September 24, 2026 01:40

This branch was previously deployed

1 inactive deployment
Preview ae5dac2b Deployed Sep 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant